package com.classes.classreference;

import java.nio.ByteBuffer;

public class InterfaceReference {
    public static void reference(ByteBuffer buffer) {
        short reference = buffer.getShort();
        System.out.println(" 接口引用数量：" + reference);

        for (int i = 0; i < reference; i++) {
            short referenceIndex = buffer.getShort();
            System.out.println("接口引用：" + referenceIndex);
        }
    }
}
